API Reference > OdGe Classes > OdGeScale2d Class > OdGeScale2d Operators > [] Operator > OdGeScale2d::[] Operator (unsigned int)
OdGeScale2d::[] Operator (unsigned int)
Syntax
C++
double& operator [](unsigned int i);
Parameters 
Description 
unsigned int i 
[in] Index of component. 

Returns or references the ith component of the scale vector. 

 

  • 0 returns or references the X scale factor.
  • 1 returns or references the Y scale factor.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.